# Form implementation generated from reading ui file 'c:\Users\baris.subasi\Desktop\interfaces\05_QUARK_TFTP_UART\V1.0\01_PYQT\02_WORKSPACE\build\exe.win-amd64-3.12\ui\main_window.ui'
#
# Created by: PyQt6 UI code generator 6.7.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(713, 793)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("c:\\Users\\baris.subasi\\Desktop\\interfaces\\05_QUARK_TFTP_UART\\V1.0\\01_PYQT\\02_WORKSPACE\\build\\exe.win-amd64-3.12\\ui\\../assets/sirket.ico"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
        MainWindow.setWindowIcon(icon)
        self.centralwidget = QtWidgets.QWidget(parent=MainWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.headerlayout = QtWidgets.QWidget(parent=self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.headerlayout.sizePolicy().hasHeightForWidth())
        self.headerlayout.setSizePolicy(sizePolicy)
        self.headerlayout.setMinimumSize(QtCore.QSize(0, 0))
        self.headerlayout.setMaximumSize(QtCore.QSize(16777215, 50))
        self.headerlayout.setObjectName("headerlayout")
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.headerlayout)
        self.horizontalLayout_11.setContentsMargins(-1, 5, -1, 5)
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.label_5 = QtWidgets.QLabel(parent=self.headerlayout)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setMinimumSize(QtCore.QSize(0, 0))
        self.label_5.setMaximumSize(QtCore.QSize(90, 30))
        self.label_5.setText("")
        self.label_5.setPixmap(QtGui.QPixmap("c:\\Users\\baris.subasi\\Desktop\\interfaces\\05_QUARK_TFTP_UART\\V1.0\\01_PYQT\\02_WORKSPACE\\build\\exe.win-amd64-3.12\\ui\\../assets/Quark(BeyazLogo).png"))
        self.label_5.setScaledContents(True)
        self.label_5.setOpenExternalLinks(True)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_11.addWidget(self.label_5)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_11.addItem(spacerItem)
        self.title_label = QtWidgets.QLabel(parent=self.headerlayout)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.title_label.sizePolicy().hasHeightForWidth())
        self.title_label.setSizePolicy(sizePolicy)
        self.title_label.setMaximumSize(QtCore.QSize(250, 30))
        font = QtGui.QFont()
        font.setFamily("Leelawadee UI")
        font.setPointSize(15)
        font.setBold(True)
        font.setWeight(75)
        self.title_label.setFont(font)
        self.title_label.setScaledContents(True)
        self.title_label.setObjectName("title_label")
        self.horizontalLayout_11.addWidget(self.title_label, 0, QtCore.Qt.AlignmentFlag.AlignRight)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_11.addItem(spacerItem1)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.toggle_theme_button = QtWidgets.QPushButton(parent=self.headerlayout)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toggle_theme_button.sizePolicy().hasHeightForWidth())
        self.toggle_theme_button.setSizePolicy(sizePolicy)
        self.toggle_theme_button.setMinimumSize(QtCore.QSize(30, 30))
        self.toggle_theme_button.setMaximumSize(QtCore.QSize(30, 30))
        self.toggle_theme_button.setText("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap("c:\\Users\\baris.subasi\\Desktop\\interfaces\\05_QUARK_TFTP_UART\\V1.0\\01_PYQT\\02_WORKSPACE\\build\\exe.win-amd64-3.12\\ui\\../assets/night-mode.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
        self.toggle_theme_button.setIcon(icon1)
        self.toggle_theme_button.setIconSize(QtCore.QSize(20, 20))
        self.toggle_theme_button.setObjectName("toggle_theme_button")
        self.horizontalLayout_12.addWidget(self.toggle_theme_button, 0, QtCore.Qt.AlignmentFlag.AlignRight)
        self.infoButton = QtWidgets.QPushButton(parent=self.headerlayout)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.infoButton.sizePolicy().hasHeightForWidth())
        self.infoButton.setSizePolicy(sizePolicy)
        self.infoButton.setMinimumSize(QtCore.QSize(30, 30))
        self.infoButton.setMaximumSize(QtCore.QSize(30, 30))
        self.infoButton.setText("")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap("c:\\Users\\baris.subasi\\Desktop\\interfaces\\05_QUARK_TFTP_UART\\V1.0\\01_PYQT\\02_WORKSPACE\\build\\exe.win-amd64-3.12\\ui\\../assets/icons8-info-50.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
        self.infoButton.setIcon(icon2)
        self.infoButton.setIconSize(QtCore.QSize(25, 25))
        self.infoButton.setObjectName("infoButton")
        self.horizontalLayout_12.addWidget(self.infoButton, 0, QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.horizontalLayout_11.addLayout(self.horizontalLayout_12)
        self.verticalLayout_5.addWidget(self.headerlayout)
        self.verticalLayout_18 = QtWidgets.QVBoxLayout()
        self.verticalLayout_18.setContentsMargins(10, 10, 10, 10)
        self.verticalLayout_18.setObjectName("verticalLayout_18")
        self.widget_3 = QtWidgets.QWidget(parent=self.centralwidget)
        self.widget_3.setObjectName("widget_3")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.widget_3)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setContentsMargins(10, 10, 10, 10)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox_8 = QtWidgets.QGroupBox(parent=self.widget_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_8.sizePolicy().hasHeightForWidth())
        self.groupBox_8.setSizePolicy(sizePolicy)
        self.groupBox_8.setObjectName("groupBox_8")
        self.verticalLayout_17 = QtWidgets.QVBoxLayout(self.groupBox_8)
        self.verticalLayout_17.setObjectName("verticalLayout_17")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.hostComboBox = QtWidgets.QComboBox(parent=self.groupBox_8)
        self.hostComboBox.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
        self.hostComboBox.setObjectName("hostComboBox")
        self.horizontalLayout.addWidget(self.hostComboBox)
        self.refreshButton = QtWidgets.QPushButton(parent=self.groupBox_8)
        self.refreshButton.setObjectName("refreshButton")
        self.horizontalLayout.addWidget(self.refreshButton)
        self.verticalLayout_17.addLayout(self.horizontalLayout)
        self.verticalLayout.addWidget(self.groupBox_8)
        self.groupBox = QtWidgets.QGroupBox(parent=self.widget_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_16 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_16.setObjectName("verticalLayout_16")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.lineEdit = QtWidgets.QLineEdit(parent=self.groupBox)
        self.lineEdit.setObjectName("lineEdit")
        self.verticalLayout_2.addWidget(self.lineEdit)
        self.verticalLayout_16.addLayout(self.verticalLayout_2)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(parent=self.widget_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout_15 = QtWidgets.QVBoxLayout()
        self.verticalLayout_15.setObjectName("verticalLayout_15")
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.radio_button1 = QtWidgets.QRadioButton(parent=self.groupBox_2)
        self.radio_button1.setText("")
        self.radio_button1.setObjectName("radio_button1")
        self.horizontalLayout_14.addWidget(self.radio_button1)
        self.local_file = QtWidgets.QLineEdit(parent=self.groupBox_2)
        self.local_file.setObjectName("local_file")
        self.horizontalLayout_14.addWidget(self.local_file)
        self.browse_btn = QtWidgets.QPushButton(parent=self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.browse_btn.sizePolicy().hasHeightForWidth())
        self.browse_btn.setSizePolicy(sizePolicy)
        self.browse_btn.setObjectName("browse_btn")
        self.horizontalLayout_14.addWidget(self.browse_btn)
        self.verticalLayout_15.addLayout(self.horizontalLayout_14)
        self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_15.setObjectName("horizontalLayout_15")
        self.radio_button2 = QtWidgets.QRadioButton(parent=self.groupBox_2)
        self.radio_button2.setText("")
        self.radio_button2.setChecked(True)
        self.radio_button2.setObjectName("radio_button2")
        self.horizontalLayout_15.addWidget(self.radio_button2)
        self.local_file_2 = QtWidgets.QLineEdit(parent=self.groupBox_2)
        self.local_file_2.setObjectName("local_file_2")
        self.horizontalLayout_15.addWidget(self.local_file_2)
        self.browse_folder_btn = QtWidgets.QPushButton(parent=self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.browse_folder_btn.sizePolicy().hasHeightForWidth())
        self.browse_folder_btn.setSizePolicy(sizePolicy)
        self.browse_folder_btn.setObjectName("browse_folder_btn")
        self.horizontalLayout_15.addWidget(self.browse_folder_btn)
        self.verticalLayout_15.addLayout(self.horizontalLayout_15)
        self.horizontalLayout_2.addLayout(self.verticalLayout_15)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.groupBox_4 = QtWidgets.QGroupBox(parent=self.widget_3)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.port = QtWidgets.QLineEdit(parent=self.groupBox_4)
        self.port.setObjectName("port")
        self.verticalLayout_4.addWidget(self.port)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setSpacing(10)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.write_btn = QtWidgets.QPushButton(parent=self.groupBox_4)
        self.write_btn.setObjectName("write_btn")
        self.verticalLayout_6.addWidget(self.write_btn)
        self.read_btn = QtWidgets.QPushButton(parent=self.groupBox_4)
        self.read_btn.setObjectName("read_btn")
        self.verticalLayout_6.addWidget(self.read_btn, 0, QtCore.Qt.AlignmentFlag.AlignTop)
        self.verticalLayout_4.addLayout(self.verticalLayout_6)
        self.verticalLayout_7.addWidget(self.groupBox_4)
        self.horizontalLayout_3.addLayout(self.verticalLayout_7)
        self.verticalLayout_11.addLayout(self.horizontalLayout_3)
        self.verticalLayout_18.addWidget(self.widget_3)
        self.widget_2 = QtWidgets.QWidget(parent=self.centralwidget)
        self.widget_2.setObjectName("widget_2")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.widget_2)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout()
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.groupBox_3 = QtWidgets.QGroupBox(parent=self.widget_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_8.setContentsMargins(9, 9, 9, 9)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.verticalLayout_12 = QtWidgets.QVBoxLayout()
        self.verticalLayout_12.setObjectName("verticalLayout_12")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setSpacing(6)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_2 = QtWidgets.QLabel(parent=self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_5.addWidget(self.label_2)
        self.port_selector = QtWidgets.QComboBox(parent=self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.port_selector.sizePolicy().hasHeightForWidth())
        self.port_selector.setSizePolicy(sizePolicy)
        self.port_selector.setMinimumSize(QtCore.QSize(60, 0))
        self.port_selector.setMaximumSize(QtCore.QSize(120, 16777215))
        self.port_selector.setObjectName("port_selector")
        self.horizontalLayout_5.addWidget(self.port_selector)
        self.refresh_button = QtWidgets.QPushButton(parent=self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.refresh_button.sizePolicy().hasHeightForWidth())
        self.refresh_button.setSizePolicy(sizePolicy)
        self.refresh_button.setObjectName("refresh_button")
        self.horizontalLayout_5.addWidget(self.refresh_button, 0, QtCore.Qt.AlignmentFlag.AlignLeft)
        self.verticalLayout_12.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setContentsMargins(-1, -1, 10, -1)
        self.horizontalLayout_6.setSpacing(2)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_3 = QtWidgets.QLabel(parent=self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_6.addWidget(self.label_3)
        self.baudrate_selector = QtWidgets.QLineEdit(parent=self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.baudrate_selector.sizePolicy().hasHeightForWidth())
        self.baudrate_selector.setSizePolicy(sizePolicy)
        self.baudrate_selector.setObjectName("baudrate_selector")
        self.horizontalLayout_6.addWidget(self.baudrate_selector)
        self.verticalLayout_12.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_10.addLayout(self.verticalLayout_12)
        self.verticalLayout_14 = QtWidgets.QVBoxLayout()
        self.verticalLayout_14.setObjectName("verticalLayout_14")
        self.start_button = QtWidgets.QPushButton(parent=self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.start_button.sizePolicy().hasHeightForWidth())
        self.start_button.setSizePolicy(sizePolicy)
        self.start_button.setObjectName("start_button")
        self.verticalLayout_14.addWidget(self.start_button)
        self.horizontalLayout_10.addLayout(self.verticalLayout_14)
        self.verticalLayout_8.addLayout(self.horizontalLayout_10)
        self.verticalLayout_10.addWidget(self.groupBox_3)
        self.groupBox_7 = QtWidgets.QGroupBox(parent=self.widget_2)
        self.groupBox_7.setTitle("")
        self.groupBox_7.setObjectName("groupBox_7")
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout(self.groupBox_7)
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.read_btn_2 = QtWidgets.QPushButton(parent=self.groupBox_7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.read_btn_2.sizePolicy().hasHeightForWidth())
        self.read_btn_2.setSizePolicy(sizePolicy)
        self.read_btn_2.setObjectName("read_btn_2")
        self.horizontalLayout_13.addWidget(self.read_btn_2)
        self.write_btn_2 = QtWidgets.QPushButton(parent=self.groupBox_7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.write_btn_2.sizePolicy().hasHeightForWidth())
        self.write_btn_2.setSizePolicy(sizePolicy)
        self.write_btn_2.setObjectName("write_btn_2")
        self.horizontalLayout_13.addWidget(self.write_btn_2, 0, QtCore.Qt.AlignmentFlag.AlignLeft)
        self.verticalLayout_10.addWidget(self.groupBox_7)
        self.groupBox_5 = QtWidgets.QGroupBox(parent=self.widget_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_5.sizePolicy().hasHeightForWidth())
        self.groupBox_5.setSizePolicy(sizePolicy)
        self.groupBox_5.setObjectName("groupBox_5")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.groupBox_5)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.local_file_3 = QtWidgets.QLineEdit(parent=self.groupBox_5)
        self.local_file_3.setObjectName("local_file_3")
        self.horizontalLayout_9.addWidget(self.local_file_3)
        self.browse_btn_3 = QtWidgets.QPushButton(parent=self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.browse_btn_3.sizePolicy().hasHeightForWidth())
        self.browse_btn_3.setSizePolicy(sizePolicy)
        self.browse_btn_3.setObjectName("browse_btn_3")
        self.horizontalLayout_9.addWidget(self.browse_btn_3)
        self.verticalLayout_10.addWidget(self.groupBox_5)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout_10.addItem(spacerItem2)
        self.horizontalLayout_7.addLayout(self.verticalLayout_10)
        self.verticalLayout_9 = QtWidgets.QVBoxLayout()
        self.verticalLayout_9.setSpacing(10)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.horizontalLayout_7.addLayout(self.verticalLayout_9)
        self.groupBox_6 = QtWidgets.QGroupBox(parent=self.widget_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_6.sizePolicy().hasHeightForWidth())
        self.groupBox_6.setSizePolicy(sizePolicy)
        self.groupBox_6.setObjectName("groupBox_6")
        self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.groupBox_6)
        self.verticalLayout_13.setObjectName("verticalLayout_13")
        self.textEdit = QtWidgets.QTextEdit(parent=self.groupBox_6)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textEdit.sizePolicy().hasHeightForWidth())
        self.textEdit.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setFamily("Terminal")
        font.setPointSize(7)
        self.textEdit.setFont(font)
        self.textEdit.setObjectName("textEdit")
        self.verticalLayout_13.addWidget(self.textEdit)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.send_data_line = QtWidgets.QLineEdit(parent=self.groupBox_6)
        self.send_data_line.setObjectName("send_data_line")
        self.horizontalLayout_8.addWidget(self.send_data_line)
        self.crCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_6)
        self.crCheckBox.setChecked(True)
        self.crCheckBox.setObjectName("crCheckBox")
        self.horizontalLayout_8.addWidget(self.crCheckBox)
        self.lfCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_6)
        self.lfCheckBox.setObjectName("lfCheckBox")
        self.horizontalLayout_8.addWidget(self.lfCheckBox)
        self.verticalLayout_13.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_7.addWidget(self.groupBox_6)
        self.verticalLayout_3.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setContentsMargins(20, -1, 20, -1)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.progress_bar = QtWidgets.QProgressBar(parent=self.widget_2)
        self.progress_bar.setProperty("value", 0)
        self.progress_bar.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
        self.progress_bar.setObjectName("progress_bar")
        self.horizontalLayout_4.addWidget(self.progress_bar)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
        self.verticalLayout_3.setStretch(0, 1)
        self.verticalLayout_18.addWidget(self.widget_2)
        self.verticalLayout_5.addLayout(self.verticalLayout_18)
        self.gridLayout.addLayout(self.verticalLayout_5, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(parent=MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 713, 26))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(parent=MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Firmware Upgrader - Quark Optical"))
        self.title_label.setText(_translate("MainWindow", "Firmware Upgrader"))
        self.groupBox_8.setTitle(_translate("MainWindow", "Server Interface"))
        self.refreshButton.setText(_translate("MainWindow", "Refresh"))
        self.groupBox.setTitle(_translate("MainWindow", "Host:"))
        self.lineEdit.setText(_translate("MainWindow", "192.168.1.10"))
        self.groupBox_2.setTitle(_translate("MainWindow", "Browse:"))
        self.local_file.setPlaceholderText(_translate("MainWindow", "File Path:"))
        self.browse_btn.setText(_translate("MainWindow", "File"))
        self.local_file_2.setPlaceholderText(_translate("MainWindow", "File Path:"))
        self.browse_folder_btn.setText(_translate("MainWindow", "Folder"))
        self.groupBox_4.setTitle(_translate("MainWindow", "Port:"))
        self.port.setText(_translate("MainWindow", "69"))
        self.port.setPlaceholderText(_translate("MainWindow", "Port Number"))
        self.write_btn.setText(_translate("MainWindow", "Write"))
        self.read_btn.setText(_translate("MainWindow", "Read"))
        self.groupBox_3.setTitle(_translate("MainWindow", "Connection"))
        self.label_2.setText(_translate("MainWindow", "PORT :"))
        self.refresh_button.setText(_translate("MainWindow", "Refresh Ports"))
        self.label_3.setText(_translate("MainWindow", "Baudrate : "))
        self.start_button.setText(_translate("MainWindow", "Connect"))
        self.read_btn_2.setText(_translate("MainWindow", "Read"))
        self.write_btn_2.setText(_translate("MainWindow", "Write"))
        self.groupBox_5.setTitle(_translate("MainWindow", "Browse File:"))
        self.local_file_3.setPlaceholderText(_translate("MainWindow", "File Path:"))
        self.browse_btn_3.setText(_translate("MainWindow", "Browse"))
        self.groupBox_6.setTitle(_translate("MainWindow", "Received Data"))
        self.crCheckBox.setText(_translate("MainWindow", "CR"))
        self.lfCheckBox.setText(_translate("MainWindow", "LF"))
